package com.hqd.test;

import java.math.BigDecimal;
import java.util.function.Consumer;

/**
 * @author hqd
 * @title: StringConsumer
 * @projectName jjvm
 * @description: 桥接方法测试
 * @date 2022/2/21
 */
public strictfp
class StringConsumer implements Consumer<String> {
    @Override
    public void accept(String s) {
        System.out.println("i consumed " + s);
    }

    public strictfp static void main(String[] args) {
        new StringConsumer().accept("sss");
        System.out.println(new BigDecimal(54.15f));
    }
}
